objs = interp.o arch_funcall.o math.o 
targ = ../libarch.a 
CFLAGS = -Wall -Werror -I../../include -g -ldl 

all : $(objs)
	@$(AR) cr -ldl $(targ) $(objs) 


%.o : %.c 
	@$(CC) -c $*.c $(CFLAGS)
	@echo -e "\tCC\t\t\t$*.c"


.PHONY clean :
	$(RM) $(objs)

